package net.lunjin.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import net.lunjin.bean.Remark;
import finaler.util.Page;
import finaler.util.PageList;


public interface RemarkService {

    public PageList getRemarkList(Page page) throws Exception ;

    public boolean insert(Remark remark) throws Exception ;

    public boolean delete(Remark remark) throws Exception ;
    
    public Map<String, Object> getAvgFen(BigDecimal orgId)throws Exception ;

    public List<Map<String, Object>> getTopRemark(int number) throws Exception ;
    
    public PageList getGoodOrBadList(Page page) throws Exception ;
    
    public void autoRemarkCoin() throws Exception ;
    
    public void deleteByOrgid(BigDecimal orgId)throws Exception ;
}
